<!DOCTYPE html>
<html>
<head>
    <title>新手学堂标签排版</title>
	<#include "/header.html">
</head>
<body>
<style>
    th{
        text-align: center;
    }
</style>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">
            <div style="float: left">
                <select style="height: 34px;" id="selectUserGzhList" v-model="q.gzhCode">

                </select>
            </div>
            <p style="float: left">&nbsp;</p>
            <div style="float: left">
                <input type="text" class="form-control" v-model="q.articleTypeId" @keyup.enter="query" placeholder="标签ID">
            </div>
            <p style="float: left">&nbsp;</p>
            <div style="float: left">
                <input type="text" class="form-control" v-model="q.name" @keyup.enter="query" placeholder="标签名称">
            </div>
            <p style="float: left">&nbsp;</p>
            <a class="btn btn-default" @click="query">查询</a>
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
            <div class="form-group">
                <div class="col-sm-2 control-label">公众号</div>
                <div class="col-sm-10">
                    <select class="form-control" id="gzhList" v-model="bPlatformBeginnerArticleType.gzhCode" disabled></select>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">标签ID</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="bPlatformBeginnerArticleType.articleTypeId" placeholder="标签ID" readonly />
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">标签名称</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="bPlatformBeginnerArticleType.articleTypeName" placeholder="标签名称" readonly />
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">标签描述</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="bPlatformBeginnerArticleType.articleTypeDesc" placeholder="标签描述" />
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">排序</div>
                <div class="col-sm-10">
                    <input type="number" class="form-control" v-model="bPlatformBeginnerArticleType.sort" placeholder="排序"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">展示数量</div>
                <div class="col-sm-10">
                    <input type="number" class="form-control" v-model="bPlatformBeginnerArticleType.displayCount" placeholder="展示数量"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">创建时间</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="bPlatformBeginnerArticleType.createTime" placeholder="创建时间" readonly />
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">修改时间</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="bPlatformBeginnerArticleType.modifyTime" placeholder="修改时间" readonly />
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
                &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
            </div>
        </form>
    </div>
</div>

<script src="${request.contextPath}/statics/js/modules/sys/bplatformbeginnerarticletype.js?_${.now?long}"></script>
</body>
</html>